from time import sleep as sl


def is_odd(n):
    return n % 2 == 1


def is_number(s):
    try:
        float(s)  # 或者使用 int(s) 来只检测整数
        return True
    except ValueError:
        return False
